//
//  SiterAPI.h
//  sHome
//
//  Created by TracyHenry on 2022/8/15.
//  Copyright © 2022年 SiterWell. All rights reserved.
//

#ifndef SiterAPI_h
#define SiterAPI_h
#import "SiterSDK.h"
#import <AFNetworking/AFNetworking.h>

@interface Siter(Cloud)
-(AFHTTPSessionManager*) sessionWithDefaultAuthorization;
@end

@interface Siter(User)
-(void) setOnlineSite:(NSString* )domain;
-(NSString *)getDomain;
-(void) setRegisterToken:(NSString* )registerToken;
-(NSString *)getRegisterToken;
-(NSString *)getTourlistUsername;
-(void) oneKeyCreateAndLogin:(NSString*)userName callbcak:(void(^)(id user,NSError*)) block;
-(void) refreshacTokenwithCallbcak:(void(^)(id user,NSError*)) block;
-(void) logout;

@end


#endif /* SiterAPI_h */
